<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%-- 
    Document   : view-preinsp-table
    Created on : 28 Mar 11, 9:52:20
    Author     : Bayu
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <table bgcolor="#000000" cellspacing="1" cellpadding="1" width="800">
            <tr bgcolor="#FFFFFF">
                <td width="7%">Date</td>
                <c:forEach items="${data}" var="data">
                    <td width="3%"><fmt:formatDate pattern="d" value="${data.date}" /></td>
                </c:forEach>
            </tr>
            <tr bgcolor="#FFFFFF">
                <td>% Daily</td>
                <c:forEach items="${data}" var="data">
                    <td>${data.daily}</td>
                </c:forEach>
            </tr>
            <tr bgcolor="#FFFFFF">
                <td>% Accum</td>
                <c:forEach items="${data}" var="data">
                    <td>${data.accum}</td>
                </c:forEach>
            </tr>
        </table>
    </body>
</html>
